package com.paradogs.framework.core.config;

import com.paradogs.framework.core.annoations.rpc.PRRPCResponseResolver;
import com.paradogs.framework.core.msg.CommonController;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: yumi
 * @date: 2023/8/28  14:32
 * @Description: TODO
 */
@AutoConfiguration
public class RPCConfiguration {

    @Bean
    public PRRPCResponseResolver rpcResponseResolver() {
        return new PRRPCResponseResolver();
    }

    @Bean
    public CommonController commonController() {
        return new CommonController();
    }
}
